package tinynio;

public interface Handler {
	public void onActive(Communicator communicator);

	public void onRead(Communicator communicator, Object msg);

	public void onClose(Communicator communicator);

	public void onError(Communicator communicator, Throwable cause);
}
